package com.haoyeteng.sxbd.modular.business.dao;

import com.baomidou.mybatisplus.plugins.Page;
import com.haoyeteng.sxbd.modular.business.model.Order;
import com.haoyeteng.sxbd.modular.business.model.Warn;
import com.baomidou.mybatisplus.mapper.BaseMapper;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 报警表 Mapper 接口
 * </p>
 *
 * @author haoyeteng123
 * @since 2019-07-06
 */
public interface WarnMapper extends BaseMapper<Warn> {
    /**
     * 报警分页查询
     * @param page 分页
     * @param params 参数
     * @return List<map>
     */
    List<Map<String, Object>> selectWarns(Page<Warn> page, Map<String,Object> params);

}
